import service from "./service";

// 获取视频播放地址
export function getVideoUrl(id) {
  return service({
    url: `/video/url?id=${id}`,
    method: 'GET'
  })
}

// 视频详情
export function getVideoDetail(id) {
  return service({
    url: `/video/detail?id=${id}`,
    method: 'GET'
  })
}